package cpu.footprint.api;

import android.os.Environment;

import java.io.File;

public class ApiUrl {
	public static final String URL_FILEPATH=File.separator+"mnt"+File.separator+"sdcard"+File.separator+"footprint/";
	//public static final String URL_FILEPATH = Environment.getExternalStorageDirectory().getPath()+"/footprint/";
	//public static final String URL_HOST = "http://47.94.82.217:8080/footprint/";
	//public static final String URL_IMG_HOST = "http://47.94.82.217:8080/footprint/Images/Api/Heads/";
//	public static final String URL_HOST = "http://192.168.20.75/footmark/";
//	public static final String URL_IMG_HOST = "http://192.168.20.75/footmark/Images/Heads/";
	public static final String URL_HOST = "https://www.wjp147.cn/footmark/";
	public static final String URL_IMG_HOST = "https://www.wjp147.cn/footmark/Images/Heads/";
	public static final String URL_GET_LOGIN = URL_HOST + "user_login";// 登录
	public static final String URL_GET_REGIST = URL_HOST + "user_regist";// 注册
	public static final String URL_GET_USERINFO = URL_HOST + "user_info";// 获取个人信息
	public static final String URL_UPDATE_USERINFO = URL_HOST + "user_update";// 更新个人信息
	public static final String URL_UPDATE_HEADPIC = URL_HOST + "file_head";// 更新头像
	public static final String URL_LIST_GROUP = URL_HOST + "group_api_list";// 获取群组
	public static final String URL_GET_GROUP = URL_HOST + "group_info";// 单个群组/api_group_update
	public static final String URL_GET_GROUPMEMBER =URL_HOST +"member_api_list";//获取群成员
	public static final String URL_UPDATE_GROUP = URL_HOST + "group_update";// 更新群组/
	public static final String URL_UPDATEHEAD_GROUP = URL_HOST + "file_head";// 更新群组头像/
	public static final String URL_LIST_NOTICE = URL_HOST + "notice_api_list";// 获取群组公告
	public static final String URL_LIST_ACTIVE = URL_HOST + "active_api_list";// 获取群组
	public static final String URL_LIST_MYACTIVE = URL_HOST + "active_person_list";// 获取群组
	public static final String URL_JOIN_ACTIVE = URL_HOST + "api_group_adduser";// 加入活动
	public static final String URL_GET_ACTIVE = URL_HOST + "active_info";// 获取群组详细信息
	public static final String URL_GET_ACTIVERECORD = URL_HOST + "record_api_list";// 获取群组详细信息
//	public static final String URL_UPLOAD_PICTURE = URL_HOST + "api_file_upload";// 上传图片
	public static final String URL_UPLOAD_PICTURE = URL_HOST + "file_upload";// 上传图片
	public static final String URL_CREATE_ACTIVE = URL_HOST + "active_add";// 上传图片
	public static final String URL_TRAIL_ADD = URL_HOST + "api_trail_add";// 上传经纬度
    public static final String URL_CHATRECORD_ADD = URL_HOST + "chat_add";// 添加聊天记录
    public static final String URL_CHATRECORD_LIST = URL_HOST + "chat_api_list";// 获取聊天记录
}
